package com.yunupmall.service.admin.impl;


import com.yunupmall.entity.admin.commoditypojo.Adminusers;
import com.yunupmall.mapper.commoditymapper.LoginMapper;
import com.yunupmall.service.admin.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Loginimpl implements LoginService {
    @Autowired
    LoginMapper loginMapper;

    @Override
    public List<Adminusers> getUserData(String username, String password) {
        return loginMapper.getUserData(username, password);
    }
}
